package com.njtoyo.taxi.admin.service.marketing;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.mapper.master.entity.CouponTemplate;
import com.njtoyo.taxi.admin.rest.presenter.marketing.CouponTemplateSimplePresenter;
import com.njtoyo.taxi.admin.rest.wrapper.marketing.couponTemplate.CouponListWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.marketing.couponTemplate.CreateCouponWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.marketing.couponTemplate.UpdateCouponWrapper;
import com.taxi.entity.common.RestResult;

import java.util.List;

public interface CouponTemplateService {
    RestResult<List<CouponTemplateSimplePresenter>> getAll();

    RestResult<Page<CouponTemplate>> getList(CouponListWrapper couponListWrapper);

    RestResult addCoupons(CreateCouponWrapper createCouponWrapper);

    RestResult updateCoupons(Long id, UpdateCouponWrapper updateCouponWrapper);


}
